package cn.cdeden.knowledge.domain;

//import io.swagger.annotations.ApiModelProperty;
import cn.cdeden.common.translation.annotation.Translation;
import cn.cdeden.common.translation.constant.TransConstant;
import cn.cdeden.system.api.domain.vo.RemoteDeptVo;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;

/**
* @author Chen
* @date 2023-12-26
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@AutoMappers({
    @AutoMapper(target = SysFormDocTemp.class)
})
public class SysFormDocTempDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

//    @ApiModelProperty(value = "表单名称")
    private String formName;

//    @ApiModelProperty(value = "表单编码")
    private String formCode;

//    @ApiModelProperty(value = "表单JSON")
    private String formJson;

//    @ApiModelProperty(value = "表单图标")
    private String formIcon;

    private String coverStorage;

//    @ApiModelProperty(value = "表单类型")
    private Integer formType;

    private Integer applyType;

//    @ApiModelProperty(value = "表单配置项")
    private String options;

//    @ApiModelProperty(value = "创建编号")
    private String createId;

//    @ApiModelProperty(value = "创建者")
    private String createBy;

//    @ApiModelProperty(value = "创建日期")
    private Date createTime;

//    @ApiModelProperty(value = "更新编号")
    private String updateId;

//    @ApiModelProperty(value = "更新者")
    private String updateBy;

//    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

//    @ApiModelProperty(value = "删除编号")
    private String deleteId;

//    @ApiModelProperty(value = "删除者")
    private String deleteBy;

//    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;

//    @ApiModelProperty(value = "状态")
    private String status;

    private String deleteType;
    @Translation(type = TransConstant.OSS_ID_TO_URL,mapper = "coverUrl")
    private String coverUrl;

    private Integer previews;

//    @ApiModelProperty(value = "封面文件")
    private MultipartFile coverFile;

    /*******template*******/

//    @ApiModelProperty(value ="文件类型")
    private String fileType;
//    @ApiModelProperty(value = "浏览量")
    private String templatePreviews;
    private String libraryType;

    private Long deptId;
}
